﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script type="text/javascript" src="js/cuttext.js"></script>
</head>
<body>
    <textarea id="test">

    </textarea>
    <a href="javascript:;" onclick="cut();">test</a>
    <script type="text/javascript">
        function cut() {
            alert(document.getElementById('test').value);
            alert(Generate_Brief(document.getElementById('test').value,500));
        }
    </script>
</body>
</html>
